<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/taglibs.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BlueSea系统-工作台</title>
<link rel="stylesheet" type="text/css" href="${ctx }/css/main.css">
<link rel="stylesheet" type="text/css" href="${ctx }/js/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="${ctx }/js/easyui/themes/icon.css">
<script type="text/javascript" src="${ctx }/js/easyui/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="${ctx }/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${ctx }/js/easyui/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
<div id="list-container" style="width:100%">
	<table id="list" title="部门列表" class="easyui-datagrid" style="height:500px"  
		url="${ctx }/dept/findAll.do" toolbar="#toolbar" rownumbers="true" fitColumns="true" singleSelect="true">  
		<thead>  
			<tr>  
				<th field="deptCode" width="50">部门编码</th>
				<th field="deptName" width="50">部门名称</th>  
				<th field="parentDept" width="50">上级部门</th> 
				<th field="manager" width="50">部门经理</th>  
	            <th field="phone" width="50">联系电话</th>  
	            <th field="email" width="50">电子邮件</th>  
	         </tr>  
	    </thead>  
	</table>  
	<div id="toolbar">  
		<a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="new()">新建</a>  
		<a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="edit()">编辑</a>  
		<a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="remove()">删除</a>  
	</div>  
</div>
</body>
</html>